package com.njtoyo.taxi.admin.rest.presenter.business.driver;

import com.njtoyo.taxi.admin.mapper.master.enums.RecommendationFromCategoryPlatform;
import com.njtoyo.taxi.admin.mapper.master.enums.RecommendationRelationPlatform;
import com.njtoyo.taxi.admin.mapper.master.enums.RecommendationToCategoryPlatform;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "指定司机推广司机记录")
public class DriverRecommendationDriverListPresenter {

    private Long id;

    @ApiModelProperty(value = "推荐人的ID")
    private Long fromId;

    @ApiModelProperty(value = "推荐人的类型 0:driver[司机],1:customer[用户],2:promoter[推广者(未使用)],3:customer_promoter[乘客推广者]")
    private RecommendationFromCategoryPlatform fromCategory;

    @ApiModelProperty(value = "被推荐人的ID")
    private Long toId;

    @ApiModelProperty(value = "乘客姓名")
    private String toName;

    @ApiModelProperty(value = "乘客手机号")
    private String toMobileNumber;

    @ApiModelProperty(value = "被推荐人的类型 0:driver[司机],1:customer[用户]")
    private RecommendationToCategoryPlatform toCategory;

    @ApiModelProperty(value = "推荐关联表ID")
    private Long refId;

    @ApiModelProperty(value = "推荐渠道 0:wxmina[微信小程序],1:app[APP],2:h5[h5网页],3:webkit_qct[全澄通],4:h5Market[h5本地生活],5:h5_sale[h5营销注册],6:webkit_tzykt[泰州一卡通注册],7:h5_sale_marketing[奇妙派对主题活动],8:sdk[端sdk]")
    private RecommendationRelationPlatform recommendationPlatform;

    @ApiModelProperty(value = "激活渠道 0:wxmina[微信小程序],1:app[APP],2:h5[h5网页],3:webkit_qct[全澄通],4:h5Market[h5本地生活],5:h5_sale[h5营销注册],6:webkit_tzykt[泰州一卡通注册],7:h5_sale_marketing[奇妙派对主题活动],8:sdk[端sdk]")
    private RecommendationRelationPlatform activePlatform;

    @ApiModelProperty(value = "是否是正常推广")
    private Boolean isValid;

    @ApiModelProperty(value = "是否已激活")
    private Boolean isActivated;

    @ApiModelProperty(value = "激活时间")
    private Date activatedAt;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

}
